package com.ygqh.baby.mapper;

import com.wdt.api.response.support.StockOutOrderTradeDetail;
import com.ygqh.baby.po.WdtQybStockOutDetail;
import com.ygqh.baby.po.WdtQybStockOutDetailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WdtQybStockOutDetailMapper {
    int countByExample(WdtQybStockOutDetailExample example);

    int deleteByExample(WdtQybStockOutDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WdtQybStockOutDetail record);

    int insertSelective(WdtQybStockOutDetail record);

    List<WdtQybStockOutDetail> selectByExample(WdtQybStockOutDetailExample example);

    WdtQybStockOutDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WdtQybStockOutDetail record, @Param("example") WdtQybStockOutDetailExample example);

    int updateByExample(@Param("record") WdtQybStockOutDetail record, @Param("example") WdtQybStockOutDetailExample example);

    int updateByPrimaryKeySelective(WdtQybStockOutDetail record);

    int updateByPrimaryKey(WdtQybStockOutDetail record);

    int insertBatch(@Param("details") List<WdtQybStockOutDetail> details);

    int insertBatchV2(@Param("details") List<StockOutOrderTradeDetail> details);

    int deleteBatch(@Param("stockOutIds") List<Integer> stockOutIds);
}